package com.gzhryc.net_marketing.api.protocol.goods;

import com.gzhryc.common.api.SecurityRequest;

import java.io.Serializable;

/**
 * 商品修改状态请求
 * @version 2022-07-19
 */
public class GoodsUpdateStateRequest extends SecurityRequest<GoodsUpdateStateRequest.Body> {

    private static final long serialVersionUID = 1L;

    public GoodsUpdateStateRequest() {
        super();
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private String goodsCode;
        private Integer state;

        public String getGoodsCode() {
            return goodsCode;
        }

        public void setGoodsCode(String goodsCode) {
            this.goodsCode = goodsCode;
        }

        public Integer getState() {
            return state;
        }

        public void setState(Integer state) {
            this.state = state;
        }
    }

}
